package com.gateway.video.rtsp.server.config;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@Accessors(chain = true)
@ConfigurationProperties(prefix = "gateway.video.server")
public class VideoServerConfig {
    private String bind;
    private RTP rtp;
    private RTCP rtcp;

    @Data
    @Accessors(chain = true)
    public static class RTP {
        private String bind;
    }

    @Data
    @Accessors(chain = true)
    public static class RTCP {
        private String bind;
    }
}
